package com.zy.web.demo.duoxiancheng.demo32;

/**
 * @author <a href="mailto:zhouyong@cqyyt.com">zy</a>
 * @version 1.0
 * @date 2020/9/7 15:40
 */
public class Test32 {

    public static void main(String[] args) throws InterruptedException {
        Service32C service32C = new Service32C();
        Runnable runnable = new Runnable() {
            @Override
            public void run() {
                service32C.method();
            }
        };
        Thread A = new Thread(runnable);
        A.setName("A");
        A.start();
        Thread B = new Thread(runnable);
        B.setName("B");
        B.start();
    }

}
